import { StyleObject } from './template.type';

/*
 * @Descripttion:
 * @LastEditors: chen.long
 * @LastEditTime: 2024-02-24 13:26:40
 */
export interface plugin {
  cssBeforeLoaders?: Array<StyleObject>;
  /** 处理css的loader */
  cssLoader?: (code: string, url: string, base: string) => string;
}

export interface loaderOption {
  plugins: Array<plugin>;
}

export type presetLoadersType = 'cssBeforeLoaders';
